package com.usian.feign;

import com.usian.pojo.OrderInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "usian-order-service")
public interface OrderFeign {

    @RequestMapping("/insertOrder")
    public Long insertOrder(@RequestBody OrderInfo orderInfo);
}
